package com.retoc.oawx.service;

import com.retoc.oawx.domain.Materials;
import com.baomidou.mybatisplus.extension.service.IService;
import com.retoc.oawx.domain.MaterialsType;

import java.util.ArrayList;

/**
* @author retoc
* @description 针对表【tb_materials】的数据库操作Service
* @createDate 2022-06-22 10:29:27
*/
public interface MaterialsService extends IService<Materials> {

    public Materials selectCarByid(int id);

    ArrayList<MaterialsType> getType();

    ArrayList<Materials> selectMaterials(int typeId,int length,int start);

    int insertMaterials(Materials materials);

    int updateMaterials(Materials materials);

    Materials selectMaterialsByid(int id);
}
